<?php /* Smarty version 2.6.26, created on 2010-11-30 20:39:14
         compiled from user_panel_student.tpl */ ?>
﻿<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="block_featured" class="block">
	<img src="images/theme/ribbon.png" class="ribbon"/>
	<span class="ribbon_text"><?php echo $this->_tpl_vars['title']; ?>
</span>
    <div class="block_inside">
	
	<?php echo $this->_tpl_vars['info_action']; ?>

	
	<div class="user_panel">
		<ul class="tabs">
			<li><a href="#tab1">Praktyka</a></li>
			<li><a href="#tab2">Moje dane</a></li>
		</ul>

		<div class="tab_container">
			<div id="tab1" class="tab_content">
			
			<?php echo $this->_tpl_vars['info_practice']; ?>

			
			<?php if (isset ( $this->_tpl_vars['practiceDetails'] )): ?>
				<?php $_from = $this->_tpl_vars['practice']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['p']):
?><?php endforeach; endif; unset($_from); ?>
				<?php $_from = $this->_tpl_vars['company']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?> <?php endforeach; endif; unset($_from); ?>
				<?php $_from = $this->_tpl_vars['person']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pe']):
?> <?php endforeach; endif; unset($_from); ?>
				<div class="clear"></div>
								<div class="grid_5">
									<h1>Szczegóły praktyki</h1>
										<table id="table_data">
											<tr>
												<td><label for="add_date">Data dodania</label></td>
												<td><?php echo $this->_tpl_vars['p']['add_date']; ?>
</td>
											</tr>
											<tr>
												<td><label>Od dnia</label></td>
												<td><?php echo $this->_tpl_vars['p']['date_start']; ?>
</td>
											</tr>
											<tr>
												<td><label>Do dnia</label></td>
												<td><?php echo $this->_tpl_vars['p']['date_end']; ?>
</td>
											</tr>
											<tr>
												<td><label>Praktyka płatna</label></td>
												<td><?php if ($this->_tpl_vars['p']['paid'] == 1): ?>TAK <?php else: ?> NIE <?php endif; ?></td>
											</tr>
											<tr>
												<td><label>Zakres obowiązków</label></td>
												<td><?php echo $this->_tpl_vars['p']['duties']; ?>
</td>
											</tr>
											<tr>
												<td><label>Wymagania</label></td>
												<td><?php echo $this->_tpl_vars['p']['requirements']; ?>
</td>
											</tr>
											<tr >
												<td><label>Technologie</label></td>
												<td><?php echo $this->_tpl_vars['p']['technology']; ?>
</td>
											</tr>
										</table>
								</div>
								<div class="grid_5">
									<h1>Dane firmy</h1>
										<table id="table_data">
											<tr>
												<td><label>Nazwa</label></td>
												<td><?php echo $this->_tpl_vars['c']['name']; ?>
</td>
											</tr>
											<tr>
												<td><label>Adres</label></td>
												<td><?php echo $this->_tpl_vars['c']['address']; ?>
</td>
											</tr>
											<tr>
												<td><label>Telefon</label></td>
												<td><?php echo $this->_tpl_vars['c']['phone']; ?>
</td>
											</tr>
											<tr>
												<td><label>Strona www</label></td>
												<td><?php echo $this->_tpl_vars['c']['site']; ?>
</td>
											</tr>
											<tr>
												<td><label>Email</label></td>
												<td><?php echo $this->_tpl_vars['c']['email']; ?>
</td>
											</tr>
										</table>	
									<h1>Osoba reprezentująca firmę</h1>
									<table id="table_data">
											<tr>
												<td><label>Imię</label></td>
												<td><?php echo $this->_tpl_vars['pe']['name']; ?>
</td>
											</tr>
											<tr>
												<td><label>Nazwisko</label></td>
												<td><?php echo $this->_tpl_vars['pe']['surname']; ?>
</td>
											</tr>
											<tr>
												<td><label>Stanowisko</label></td>
												<td><?php echo $this->_tpl_vars['pe']['position']; ?>
</td>
											</tr>
											<tr>
												<td><label>Telefon</label></td>
												<td><?php echo $this->_tpl_vars['pe']['phone']; ?>
</td>
											</tr>

											<tr>
												<td><label>Email</label></td>
												<td><?php echo $this->_tpl_vars['pe']['email']; ?>
</td>
											</tr>
										</table>	
								</div>
								<div class="clear"></div>
				<?php endif; ?>
			
			</div>
			<div id="tab2" class="tab_content">
								<h1>Moje dane</h1>
							<?php $_from = $_SESSION['student_info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['student']):
?><?php endforeach; endif; unset($_from); ?>
								<table id="table_data">
									<tr>
										<td><label>Imię</label></td>
										<td><?php echo $this->_tpl_vars['student']['name']; ?>
</td>
									</tr>
									<tr>
										<td><label>Nazwisko</label></td>
										<td><?php echo $this->_tpl_vars['student']['surname']; ?>
</td>
									</tr>
									<tr>
										<td><label>Email</label></td>
										<td><?php echo $this->_tpl_vars['student']['email']; ?>
</td>
									</tr>
									<tr>
										<td><label>Numer albumu</label></td>
										<td><?php echo $this->_tpl_vars['student']['album_nr']; ?>
</td>
									</tr>
									<tr>
										<td><label>Wydział</label></td>
										<td><?php echo $this->_tpl_vars['faculty']; ?>
</td>
									</tr>
									<tr>
										<td><label>Kierunek</label></td>
										<td><?php echo $this->_tpl_vars['specialization']; ?>
</td>
									</tr>	
								</table>
			</div>
		</div>
	</div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>